const path = require('path')
module.exports={
    configureWebpack:{
        resolve:{
            /**
             * 配置别名
             */
            alias:{
                'assets': '@/assets',
                'components' : '@/components',
                'views':'@/views',
                'api' : '@/api',
                'utils':'@/utils'
            }
        }
    },
    pluginOptions: {
        'style-resources-loader': {
          preProcessor: 'sass',
          patterns: [
            path.resolve(__dirname, './src/assets/CSS/*.scss')      //你的.scss文件所在目录
          ]
        }
      },
      publicPath: '/',
    assetsDir: 'static'
}